package com.yeshine.opendata.entity;

import com.yeshine.opendata.core.EntityBase;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * Created by taohj on 2014/8/1.
 * 手机APP
 */
public class App extends EntityBase{


    private  Integer id;

    private String name;

    private String url;

    private AppTheme theme;

    private SysDictionary platform;

    private SysDictionary storage;

    private SysDictionary status;

    private SysDictionary auditStatus;

    private String tags;

    private SysDictionary visibility;

    private String image;

    private String description;

    private User creater;

    private Date createTime;

    private String developer;

    private String developerPhone;

    private  Integer size;

    private  String version;

    private String  linkdata;

    private  User updater;

    private Date  updateTime;

    private MultipartFile imageFile;

    private  MultipartFile file;



    private Integer [] themes;

    private Integer [] platforms;


    public App() {
    }

    public App(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public AppTheme getTheme() {
        return theme;
    }

    public void setTheme(AppTheme theme) {
        this.theme = theme;
    }

    public SysDictionary getPlatform() {
        return platform;
    }

    public void setPlatform(SysDictionary platform) {
        this.platform = platform;
    }

    public SysDictionary getStorage() {
        return storage;
    }

    public void setStorage(SysDictionary storage) {
        this.storage = storage;
    }

    public SysDictionary getStatus() {
        return status;
    }

    public void setStatus(SysDictionary status) {
        this.status = status;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public SysDictionary getVisibility() {
        return visibility;
    }

    public void setVisibility(SysDictionary visibility) {
        this.visibility = visibility;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public User getCreater() {
        return creater;
    }

    public void setCreater(User creater) {
        this.creater = creater;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDeveloper() {
        return developer;
    }

    public void setDeveloper(String developer) {
        this.developer = developer;
    }

    public String getDeveloperPhone() {
        return developerPhone;
    }

    public void setDeveloperPhone(String developerPhone) {
        this.developerPhone = developerPhone;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getLinkdata() {
        return linkdata;
    }

    public void setLinkdata(String linkdata) {
        this.linkdata = linkdata;
    }

    public User getUpdater() {
        return updater;
    }

    public void setUpdater(User updater) {
        this.updater = updater;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    public MultipartFile getImageFile() {
        return imageFile;
    }

    public void setImageFile(MultipartFile imageFile) {
        this.imageFile = imageFile;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public Integer[] getThemes() {
        return themes;
    }

    public void setThemes(Integer[] themes) {
        this.themes = themes;
    }

    public Integer[] getPlatforms() {
        return platforms;
    }

    public void setPlatforms(Integer[] platforms) {
        this.platforms = platforms;
    }

    public SysDictionary getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(SysDictionary auditStatus) {
        this.auditStatus = auditStatus;
    }
}
